/**
 * @project readnote
 * @Title Book.java
 * @author huxh
 * @date 2012-2-12
 **/
package com.cr.backbone.model;

import java.util.Date;

import com.cr.backbone.hibenate.Model;
import com.readnote.user.model.User;

public class SysFile extends Model{
	private static final long serialVersionUID = -5450567167329631927L;
	public SysFile() {}
	
	public SysFile(Long id) {
		super(id);
	}
	
	
	private String fileTitle;//文件标题
	private String fileType;//文件类型
	private String fileName;//文件名
	private String fileSubfix;//文件后缀名
	private String filePath;//相对路径（工程目录下路径）
	private String fileRealPath;//真实路径
	private Long fileSize;//文件大小(K)
	private String fileSizeUnit;//文件大小单位
	private Date createDate;//生产时间
	private User createUser;//文件生产者
	private String createUserName;//文件生成者姓名
	private String createClientIp;//生产文件来源IP（上传者IP，自动生成文件服务器IP）
	
	
	public String getFileTitle() {
		return fileTitle;
	}

	public void setFileTitle(String fileTitle) {
		this.fileTitle = fileTitle;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileSubfix() {
		return fileSubfix;
	}

	public void setFileSubfix(String fileSubfix) {
		this.fileSubfix = fileSubfix;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileRealPath() {
		return fileRealPath;
	}

	public void setFileRealPath(String fileRealPath) {
		this.fileRealPath = fileRealPath;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}


	public String getFileSizeUnit() {
		return fileSizeUnit;
	}

	public void setFileSizeUnit(String fileSizeUnit) {
		this.fileSizeUnit = fileSizeUnit;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public User getCreateUser() {
		return createUser;
	}

	public void setCreateUser(User createUser) {
		this.createUser = createUser;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getCreateClientIp() {
		return createClientIp;
	}

	public void setCreateClientIp(String createClientIp) {
		this.createClientIp = createClientIp;
	}

	
}
